package com.liuyjy.core.exception;

/**
 * @Author liuyjy
 * @Date 2025/2/24 17:44
 * @Description: TODO
 **/
public class EsException extends RuntimeException {
    public EsException(String message) {
        super(message);
    }

    public EsException(String message, Throwable cause) {
        super(message, cause);
    }

    public EsException(String code, String message, Throwable cause) {
        super(code + ":" + message, cause);
    }
}
